package com.gitee.hongruisun.promotion;

/**
 * 简单工厂 + 委派
 */
public class DeletageTest {

    public static void main(String[] args) {
       String result = new Boss().command("C语言",new Leader());
       System.out.println(result);
    }
}
